<style>
* {
  margin: 0;
  padding: 0;
}

layout_header {
  overflow: hidden;
}

#main1 {
  margin: 10px auto;
  width: 1200px;
  min-width: 1200px;
}

#fixed {
  position: fixed;
  right: 0;
  z-index: 10;
}
</style>
<template>
  <div>
    <layout_header ref="header"/>
<!--    <layout_fixed_right id="fixed"/>-->
    <router-view id="main1" @login="login"/>
    <layout_footer/>
  </div>
</template>

<script>
import layout_header from "@/views/FrontState/layout/layout_header.vue";
import layout_footer from "@/views/FrontState/layout/layout_footer.vue";
import layout_fixed_right from "@/views/FrontState/layout/layout_fixed_right.vue";

export default {
  name: 'HomeView',
  components: {
    layout_header,
    layout_footer,
    layout_fixed_right
  },
  methods:{
    login(){
      this.$refs.header.checkLogin()
    }
  }
}
</script>
